package com.hmall.api.pay;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ljc
 * @version V1.0
 * @date 2025-03-21 20:49
 */
@FeignClient(name = "pay-service", path = "/pay-orders")
public interface PayClient {
    /**
     * 查询支付状态
     */
    @GetMapping
    public Integer queryPayStatus(@RequestParam("userId") Long OrderId);

}
